Optimal. Leaf size=125 \[ -\frac{(a+b x)^{p+1} (B d-A e) (d+e x)^{-p-1}}{e (p+1) (b d-a e)}-\frac{B (a+b x)^p (d+e x)^{-p} \left (-\frac{e (a+b x)}{b d-a e}\right )^{-p} \, _2F_1\left (-p,-p;1-p;\frac{b (d+e x)}{b d-a e}\right )}{e^2 p} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0686309, antiderivative size = 125, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {79, 70, 69} \[ -\frac{(a+b x)^{p+1} (B d-A e) (d+e x)^{-p-1}}{e (p+1) (b d-a e)}-\frac{B (a+b x)^p (d+e x)^{-p} \left (-\frac{e (a+b x)}{b d-a e}\right )^{-p} \, _2F_1\left (-p,-p;1-p;\frac{b (d+e x)}{b d-a e}\right )}{e^2 p} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 79
Rule 70
Rule 69
Rubi steps
\begin{align*} \int (a+b x)^p (A+B x) (d+e x)^{-2-p} \, dx &=-\frac{(B d-A e) (a+b x)^{1+p} (d+e x)^{-1-p}}{e (b d-a e) (1+p)}+\frac{B \int (a+b x)^p (d+e x)^{-1-p} \, dx}{e}\\ &=-\frac{(B d-A e) (a+b x)^{1+p} (d+e x)^{-1-p}}{e (b d-a e) (1+p)}+\frac{\left (B (a+b x)^p \left (\frac{e (a+b x)}{-b d+a e}\right )^{-p}\right ) \int (d+e x)^{-1-p} \left (-\frac{a e}{b d-a e}-\frac{b e x}{b d-a e}\right )^p \, dx}{e}\\ &=-\frac{(B d-A e) (a+b x)^{1+p} (d+e x)^{-1-p}}{e (b d-a e) (1+p)}-\frac{B (a+b x)^p \left (-\frac{e (a+b x)}{b d-a e}\right )^{-p} (d+e x)^{-p} \, _2F_1\left (-p,-p;1-p;\frac{b (d+e x)}{b d-a e}\right )}{e^2 p}\\ \end{align*}
Mathematica [A] time = 0.191395, size = 114, normalized size = 0.91 \[ \frac{(a+b x)^p (d+e x)^{-p} \left (\frac{e (a+b x) (A e-B d)}{(p+1) (d+e x) (b d-a e)}-\frac{B \left (\frac{e (a+b x)}{a e-b d}\right )^{-p} \, _2F_1\left (-p,-p;1-p;\frac{b (d+e x)}{b d-a e}\right )}{p}\right )}{e^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.051, size = 0, normalized size = 0. \begin{align*} \int \left ( bx+a \right ) ^{p} \left ( Bx+A \right ) \left ( ex+d \right ) ^{-2-p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (B x + A\right )}{\left (b x + a\right )}^{p}{\left (e x + d\right )}^{-p - 2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (B x + A\right )}{\left (b x + a\right )}^{p}{\left (e x + d\right )}^{-p - 2}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (B x + A\right )}{\left (b x + a\right )}^{p}{\left (e x + d\right )}^{-p - 2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]